// WorkflowMappingMapper.java
package cqrtplm.mapper;

import cqrtplm.entity.WorkflowMapping;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface WorkflowMappingMapper {

    // 查询所有
    List<WorkflowMapping> findAll();

    // 根据主键查询
    WorkflowMapping findById(String workFlowContainerId);

    // 插入
    int insert(WorkflowMapping record);

    // 更新（根据主键）
    int updateById(WorkflowMapping record);

    // 删除
    int deleteById(String workFlowContainerId);
}